home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / p47.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.7 KB  |  92 lines

  1. // p47 airplane
  2. p47
  3. {
  4.     qer_editorimage textures/models/vehicles/p47/p47.tga
  5.     {
  6.         map textures/common/reflection1.tga
  7.         rgbGen lightingSpherical
  8.         tcgen environmentmodel
  9.     }
  10.     {
  11.         map textures/models/vehicles/p47/p47.tga
  12.         rgbGen lightingSpherical
  13.         blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  14.     }
  15. }
  16.  
  17. // p47 airplane in flight
  18. p47fly
  19. {
  20.     qer_editorimage textures/models/vehicles/p47/p47fly.tga
  21.     {
  22.         map textures/models/vehicles/p47/p47fly.tga
  23.         rgbGen lightingSpherical
  24.     }
  25. }
  26.  
  27. // p47 airplane in flight window
  28. p47flywindow
  29. {
  30.     qer_editorimage textures/models/vehicles/p47/p47window_flat.tga
  31.     {
  32.         map textures/models/vehicles/p47/p47window_flat.tga
  33.         rgbGen lightingSpherical
  34.     }
  35. }
  36.  
  37. // p47 window
  38. p47window
  39. {
  40.     qer_editorimage textures/models/vehicles/p47/p47window.tga
  41.     cull none
  42.     {
  43.         map textures/common/reflection1.tga
  44.         rgbGen lightingSpherical
  45.         tcgen environmentmodel
  46.         //alphaGen const 0.1
  47.         //blendFunc add
  48.         Blendfunc blend
  49.     }
  50.     {
  51.         map textures/models/vehicles/p47/p47window.tga
  52.         rgbGen lightingSpherical
  53.         blendFunc blend
  54.     }
  55. }
  56.  
  57. // p47 airplane
  58. static_p47
  59. {
  60.     qer_editorimage textures/models/vehicles/p47/p47.tga
  61.     {
  62.         map textures/common/reflection1.tga
  63.         rgbGen vertex
  64.         tcgen environmentmodel
  65.     }
  66.     {
  67.         map textures/models/vehicles/p47/p47.tga
  68.         rgbGen vertex
  69.         blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  70.     }
  71. }
  72.  
  73. // p47 window
  74. static_p47window
  75. {
  76.     qer_editorimage textures/models/vehicles/p47/p47window.tga
  77.     cull none
  78.     {
  79.         map textures/common/reflection1.tga
  80.         rgbGen vertex
  81.         tcgen environmentmodel
  82.         //alphaGen const 0.1
  83.         //blendFunc add
  84.         Blendfunc blend
  85.     }
  86.     {
  87.         map textures/models/vehicles/p47/p47window.tga
  88.         rgbGen vertex
  89.         blendFunc blend
  90.     }
  91. }
  92.